@selected-color: @primary-color;
.block {
  outline: 1px dashed rgba(170, 170, 170, 0.7);
  outline-offset: -2px;
  box-sizing: content-box;
  padding: 5px; // overflow: hidden;
  background-color: white;
  &.hovered {
    outline: 1px solid @selected-color;
  }
  &.selected {
    outline: 3px solid @selected-color;
  }
  &.dragging-over {
    outline: 2px solid #ffca6f;
  }
  .inline-toolbar {
    position: absolute;
    height: 18px;
    top: -19px;
    right: 0;
    background-color: @selected-color;
    color: white;
    i {
      cursor: pointer;
      padding: 2px 5px;
    }
  }
}